#include "TcpServer.hpp"


void Usage()
{
    std::cout << "Usage : ./server server_port" << std::endl;
    
}
// ./server  server_port
int main(int argc ,char* args[])
{
    if(argc != 2)
    {
        Usage();
        return USAGE_ERR;
    }
    InetAddr server(8080);
    TcpServer tsvr(server.GetPort());
    tsvr.Init();
    tsvr.Run();
}